<%@ page import="java.util.*" %>
<%@ page import="gz.Music" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <meta charset="UTF-8">
  <title>addmusic.jsp</title>
</head>
<body>
<div class="container-fluid">
    <%--头部欢迎--%>
        <div class="row">
            <div class="col-xs-12 col-sm-6 col-md-11">${name},欢迎您!</div>
            <div class="col-xs-6 col-md-1">
                <form action="login.jsp" method="post">
                    <button class="btn btn-default" type="submit">退出登录</button>
                </form>
            </div>
        </div>
    <%--头部欢迎--%>
        <div class="row">
            <div class="col-md-4"></div>
            <div class="col-md-4"><h2>添加歌曲</h2></div>
            <div class="col-md-4"></div>
        </div>
</div>
        <div class="row">
            <div class="col-md-4"></div>
            <div class="col-md-4">
        <form action="SetServlet" method="post">
            <div class="form-group">
                <label for="musicName">歌曲名</label>
                <input type="text" class="form-control" id="musicName" name="musicName" value="${param.musicName}">
            </div>
            <div class="form-group">
                <label for="singer">歌手</label>
                <input type="text" class="form-control" id="singer" name="singer" value="${param.singer}">
            </div>
            <div class="form-group">
                <label for="hint">点击率</label>
                <input type="text" class="form-control" id="hint" name="hint" value="${param.hint}">
            </div>
            <input type="hidden" name="id" value="${param.id}">
            <button type="submit" class="btn btn-default">修改</button>
        </form>
            </div>
            <div class="col-md-4"></div>
        </div>
</div>
</body>
</html>
